package lab02.Test06;

public class Ladder {
    //属性:上底 下底 高
    double upperBase;
    double bottomBase;
    double high;
    double area;

    double area(){area=(upperBase+bottomBase)*high/2;
    return 0;
    }
}
